package com.tang.service;
import com.tang.pojo.Cart;
import com.tang.pojo.Order;
import com.tang.pojo.OrderItem;

import java.util.List;
public interface OrderService {
    public int createOrder(Cart cart, int userId);
    public List<Order> showAllOrders();
    public void sendStock(int id);
    public List<OrderItem> showDetails(int orderId);
    public List<Order> showMyOrders(int userID);
    public void receiveBook(int id);
}
